//
//  ImageViewCell.h
//  ASI
//
//  Created by Shi Zijie on 12-3-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TripInfo.h"
#import "EGOImageView.h"

@protocol ImageViewCellProtocol <NSObject>

//图片点击处理代理方法
- (void)touchUpInsideImageViewCell:(NSInteger) Index;

@end

@interface ImageViewCell : UIView
{
    EGOImageView* userImageView;
    EGOImageView* tripImageView;
    UIImageView* collectImageView;
    UIImageView* likeImageView;
    
    UILabel* creattimeLabel;
    UILabel* nameLabel;
    
    UILabel* collectCount;
    UILabel* likeCount;
    
    NSInteger m_index;
    
    id<ImageViewCellProtocol> delegate;
}

- (void)setImageViewCell:(TripInfo*) info;

@property (nonatomic, retain)EGOImageView* userImageView;
@property (nonatomic, retain)EGOImageView* tripImageView;
@property (nonatomic, assign)NSInteger m_index;
@property (nonatomic, assign)id<ImageViewCellProtocol> delegate;

@end
